package com.ysx.role;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
public class RoleService {

    @RequestMapping("hello")
    public Map<String, Object> hello(){
        Map<String,Object> rs = new HashMap<>();
        rs.put("code",200);
        rs.put("message","success");
        return rs;
    }
}
